home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ShareWare OnLine 2
/
ShareWare OnLine Volume 2 (CMS Software)(1993).iso
/
util1
/
attr10.zip
/
ATTR10.DOC
< prev
Wrap
Text File
|
1993-03-07
|
4KB
|
101 lines
A T T R I B U T E 1 . 0
============================================================================
Attribute 1.0 [ATTR.EXE]
File attribute viewer/editor
Copyright (c) 1993, Brent Buchanan
============================================================================
>\< Program Description
Attribute is a file attribute utility, similar to Norton's FA. It differs
from Norton, however, in that it can handle directories, and it's also
significantly faster. For an explanation of the different attributes, see
the "Attributes Explained" section below.
>\< Program Operation
SYNTAX: ATTR [options] [drive:][path\]filespec [options]
options:
/A = Archive
/H = Hidden Use + or - following
/R = Read-Only the option to set the
/S = System attribute on or off.
Example: ATTR EXAMPLE.EXE /H- /R+
This would set the hidden attribute OFF and the read-only attribute ON for
the file EXAMPLE.EXE. The order of the command line parameters doesn't
matter, so typing ATTR /H- EXAMPLE.EXE /R+ for the above example would have
the same effect.
DOS wildcards can also be used:
ATTR D:\SECRET\*.* /H+
This would set the hidden attribute ON for all files in the D:\SECRET\
directory. If you wanted to hide the D:\SECRET\ directory, you would type:
ATTR D:\SECRET /H+
When affecting directories, "hidden" is the only attribute that can be set.
If you are on the same drive as the files in the filespec, the drive letter
is optional. Typing ATTR with a filespec, but no options on the command line
will list the files in the filespec with their attributes. Typing ATTR with
options, but no filespec, will set the attributes for the files in the
current directory. Typing ATTR with neither filespec, nor options, will
list the files in the current directory with their attributes.
>\< Attributes Explained
The archive attribute is set "on" when a file is created or updated. It is
used by DOS's backup, xcopy, and restore commands to determine which files
have changed since they were last backed up.
The hidden attribute prevents DOS from displaying a file (or a directory) in
a directory list. The file still exists, and can be used in the hidden state
if you know the filename. This attribute is useful if you are working with
confidential files.
The read-only attribute prevents a file from being deleted or written to.
You will still be able to see the file (assuming the hidden or system
attributes are not on) but you will not be able to modify it in any way.
This attribute is useful for protecting files containing important
information.
The system attribute designates a file as a system file. This has the same
effect as the hidden attribute in that the file won't appear in a directory
list.
>\< System Requirements
Attribute was written for an IBM PC or compatible using DOS 2.0 or higher.
An 80x25 display is required, and can be color or mono.
>\< Comments? Problems?
If you have any comments or find any bugs, I would be interested in hearing
from you. You can reach me on CompuServe at 75210,3120 or by calling the
Fremont Arsenal BBS at 913-267-5238 or 913-267-9624 (N81) and leaving E-Mail.
If you have access to CircuitNet, you can route a message to me at 913000.
>\< Miscellaneous
You are allowed to freely distribute this program to all ends of the Earth
(and beyond, if you like) as long as no fee is charged other than a reasonable
media expense. Use this program at your own risk.
Released: 03/07/93 as freeware
Suggested archive name: ATTR10.ZIP
Attribute was written in Turbo Pascal 6.0